﻿@model crm_data.Order

@{
    ViewData["Title"] = "Create";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Create</h2>

<h4>Order</h4>
<hr />
<div class="row">
    <div class="col-md-4">
        <form asp-action="Create">
            <div asp-validation-summary="ModelOnly" class="text-danger"></div>
            <div class="form-group">
                <label asp-for="OrderSn" class="control-label"></label>
                <input asp-for="OrderSn" class="form-control" />
                <span asp-validation-for="OrderSn" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="OrderStatus" class="control-label"></label>
                <select asp-for="OrderStatus" class="form-control"></select>
                <span asp-validation-for="OrderStatus" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="ProductCount" class="control-label"></label>
                <input asp-for="ProductCount" class="form-control" />
                <span asp-validation-for="ProductCount" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="ProductAmountTotal" class="control-label"></label>
                <input asp-for="ProductAmountTotal" class="form-control" />
                <span asp-validation-for="ProductAmountTotal" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="OrderAmountTotal" class="control-label"></label>
                <input asp-for="OrderAmountTotal" class="form-control" />
                <span asp-validation-for="OrderAmountTotal" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="LogisticsFee" class="control-label"></label>
                <input asp-for="LogisticsFee" class="form-control" />
                <span asp-validation-for="LogisticsFee" class="text-danger"></span>
            </div>
            <div class="form-group">
                <div class="checkbox">
                    <label>
                        <input asp-for="IsUnpackingInspection" /> @Html.DisplayNameFor(model => model.IsUnpackingInspection)
                    </label>
                </div>
            </div>
            <div class="form-group">
                <div class="checkbox">
                    <label>
                        <input asp-for="IsInvoice" /> @Html.DisplayNameFor(model => model.IsInvoice)
                    </label>
                </div>
            </div>
            <div class="form-group">
                <label asp-for="OutTradeNo" class="control-label"></label>
                <input asp-for="OutTradeNo" class="form-control" />
                <span asp-validation-for="OutTradeNo" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="CreateTime" class="control-label"></label>
                <input asp-for="CreateTime" class="form-control" />
                <span asp-validation-for="CreateTime" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="PaymentTime" class="control-label"></label>
                <input asp-for="PaymentTime" class="form-control" />
                <span asp-validation-for="PaymentTime" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="DeliveryTime" class="control-label"></label>
                <input asp-for="DeliveryTime" class="form-control" />
                <span asp-validation-for="DeliveryTime" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="Remark" class="control-label"></label>
                <input asp-for="Remark" class="form-control" />
                <span asp-validation-for="Remark" class="text-danger"></span>
            </div>
            <div class="form-group">
                <input type="submit" value="Create" class="btn btn-default" />
            </div>
        </form>
    </div>
</div>

<div>
    <a asp-action="Index">Back to List</a>
</div>

